<!-- toaster directive -->
<toaster-container
	toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
	<ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
		<li><a ui-href="main"><i class="fa fa-home"></i> 首页</a></li>
		<li class="active" ng-bind="title"></li>
	</ul>
</div>

<!-- 加载提醒 -->
<!-- <div ng-show="loading" class="text-center m-t-md text-lg">
	<i class="fa fa-spin fa-spinner"></i> 数据加载中...
</div> -->

<!-- 内容区域 -->
<div class="wrapper-md content">
	<!-- ng-hide="loading" -->
	<!-- 数据显示 -->
	<div class="wrapper-data">
		<div class="panel panel-default">
			<!-- 头部 -->
			<div class="panel-heading clearfix">

				<div class="w-auto">
					<form class="form-inline">
						<!-- <input type="text" class="form-control" id="identity" placeholder="请输入身份证号">
							<input type="text" class="form-control" id="name" placeholder="请输入姓名"> -->
						<div class="form-group">
							<label for="identity">身份证号：</label> <input type="text" style="width: 180px"
								class="form-control" id="identity" placeholder="请输入身份证号">
						</div>
						<div class="form-group">
							<label for="name">姓名：</label> <input type="text" style="width: 180px"
								class="form-control" id="name" placeholder="请输入姓名">
						</div>
						<div class="form-group">
							<label for="address">房屋地址：</label> <input type="text" style="width: 180px"
								class="form-control" id="address" placeholder="请输入地址">
						</div>
						<!-- <div class="form-group">
							<label>开门时间：</label>
							指定 date标记
							<div class='input-group date' datetimepicker id='datetimepicker1'>
								<input type='text' class="form-control" ng-model="dateOne" /> <span
									class="input-group-addon"> <span
									class="glyphicon glyphicon-calendar"></span>
								</span>
							</div>
						</div> -->
						<div class="form-group">
							<button type="submit" class="btn btn-primary new-primary"
								style="margin-left: 10px;">查询</button>
						</div>
						<div class="form-group">
							<a ui-sref="main.sys.menu.create" class="btn btn-primary addNew"><i class="glyphicon glyphicon-plus" ></i>新增</a>
						</div>
					</form>



				</div>
			</div>

			<!-- 数据表格 -->
			<div class="table-responsive">
				<table class="table table-striped b-t b-light text-center">
					<thead>
						<tr>
							<th>房屋地址</th>
							<th>姓名</th>
							<th>身份证号</th>
							<th>开门方式</th>
							<th>刷卡时间</th>
							<th>状态</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						<!-- <tr ng-repeat="item in pageInfo.data"> -->
						<tr ng-repeat="item in pageInfo.data">
							<!-- <td class="v-middle">{{item.menuName}}</td>
                        <td class="v-middle">{{item.request}}</td>
                        <td class="v-middle">{{item.remark}}</td>
                        <td class="v-middle">{{item.sortNo}}</td> -->
							<td class="v-middle">{{item.buildingAddress}}</td>
							<td class="v-middle">{{item.personName}}</td>
							<td class="v-middle">{{item.cardNo}}</td>
							<td class="v-middle">刷卡</td>
							<td class="v-middle">{{item.readCardTime}}</td>
							<td class="v-middle">
							<span ng-if="item.cardResult==0" class="text-success">成功</span>
                            <span  ng-if="item.cardResult==1" class="text-danger">失败</span>
                            </td>
							<td class="v-middle">
								<!-- <a ui-sref="main.member.openDoor.update({id: 1})" class="btn btn-sm btn-primary"> -->
								<a onclick="alert('功能建设中！')" class="btn btn-sm btn-primary">
								<i class="fa fa-edit m-r-xs text-sm"></i>详情
								</a>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			<!-- /.table-responsive -->

			<!-- 底部分页 -->
			<span data-ng-include=" 'src/tpl/pageInfo.html' "></span>
		</div>
		<!-- /.panel -->
	</div>
	<!-- /.wrapper-data -->

</div>

<!-- /.wrapper-md -->